how to find a power of given signal